package com.jk.config;

import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author yzf
 * @version 1.0
 * @ClassName RabbitConfig
 * @program: yzf-test
 * @description: TODO
 * @date 2025/2/27 15:07
 */
@Configuration
public class RabbitConfig {


    @Bean
    public Queue queue(){
        return new Queue("hello");
    }
    @Bean
    public Queue obj(){
        return new Queue("object");
    }



}
